<div *ngIf="user.id != 0">
    <nz-descriptions nzTitle="User Info">
    <nz-descriptions-item nzTitle="User_id">{{user.id}}</nz-descriptions-item>
    <nz-descriptions-item nzTitle="username">{{user.userName}}</nz-descriptions-item>
    <nz-descriptions-item nzTitle="SEX">{{user.sex}}</nz-descriptions-item>
    <nz-descriptions-item nzTitle="ROLE">{{user.role}}</nz-descriptions-item>
    <nz-descriptions-item nzTitle="Address">
      {{user.address}}
    </nz-descriptions-item>  
  </nz-descriptions>
</div>
<div *ngIf="user.id == 0">
  <h1>权限不足，无法查看</h1>
</div>
    

